(function($){
	function formResult(msg, state) {
        layer.closeAll();
        if(state == 0) {
            layer.alert(msg, {icon: 5});
        }
    }
	$(function(){
		window.formResult = formResult;
	});
})(jQuery)
